﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DiamondDesktop.Views;
using System.Windows.Controls;
using DiamondDesktop.Model;

namespace DiamondDesktop.Presenters
{
    public class CountPresenter
    {
         private readonly ApplicationController _controller;

        public CountPresenter(ApplicationController controller)
        {
            _controller = controller;

            //设置任务完成情况后，显示该view
            CountView view = new CountView(this);
            view.showSummary(Reminder.getInstance().getSummary());

            _controller.DisplayInShell(view);
        }

    }
}
